﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Web.Mvc;

namespace Mindfor.Web.Models
{
	/// <summary>
	/// Contains information about admin item.
	/// </summary>
	public class AdminLink : Link
	{
		/// <summary>
		/// Gets or sets category of admin link.
		/// </summary>
		public string Category { get; set; }

		/// <summary>
		/// Initializes new instance.
		/// </summary>
		/// <param name="text">Link text.</param>
		/// <param name="url">Link href.</param>
		/// <param name="category">Link category.</param>
		public AdminLink(string text, string url, string category)
			: base(text, url)
		{
			Category = category;
		}
	}
}
